package com.hmkj.core.po.wx;

import com.hmkj.common.baseMapper.GenericPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.util.function.Consumer;


/**
 * 微信公众号自动回复设置表实体信息<br>
 *
 * @author Vector
 * @date   2017-10-18 10:04:13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "微信公众号自动回复设置表")
@Table(name = "wx_reply_setting")
public class WxReplySetting extends GenericPo<Integer> {

    public static final String TABLE_NAME = "wx_reply_setting";

	
	/**回复素材编号**/
	@ApiModelProperty(value = "回复素材编号")
	private Integer replyId;
	/**回复类型，1关注回复2消息自动回复**/
	@ApiModelProperty(value = "回复类型，1关注回复2消息自动回复")
	private Integer type;
	/**是否启用，0不启用1启用**/
	@ApiModelProperty(value = "是否启用，0不启用1启用")
	private Integer status;
	/**所属微信公众号编号**/
	@ApiModelProperty(value = "所属微信公众号编号")
	private Integer wxId;
	/**备注**/
	@ApiModelProperty(value = "备注")
	private String remark;

    public WxReplySetting(){}

    public WxReplySetting(Consumer<WxReplySetting> consumer){
    consumer.accept(this);
    }
}

